package com.xsq.newmall01.Service.UserService;

import com.xsq.newmall01.Dao.Order;
import com.xsq.newmall01.Dao.Ownership;
import com.xsq.newmall01.Dao.User;

import java.util.List;

public interface UOrderService {
    // 查询用户的订单
    List<Order> getOwnedOrders(User user);

    // 创建订单（包含更新商品所有权）
    void createOrder(Order order, Ownership ownership);
}
